package Thread;

public class Test {
    public static void main(String[] args) throws InterruptedException {
        Thread t1 = new MyThread("线程1");
        t1.start();
   //     t1.join();
        Thread t2 = new MyThread("线程2");
        t2.start();
   //     t2.join();
        Thread t3 = new MyThread("线程3");
        t3.start();
//t3.join();
/*        for (int i = 0; i < 5; i++) {
            System.out.println(Thread.currentThread().getName()+"执行了------>"+i);
        }*/
    }
}
